package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author jiangwz
 * @create 2019/4/3.
 */


@Controller
public class PageController {

    @GetMapping("/callback")
    public String success(String code){

        System.out.println(code);
        return "success";
    }
}
